package com.updesignsz.api.service;

import com.updesignsz.api.mapper.ArticleMapper;
import com.updesignsz.commom.entity.Article;
import net.sf.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 文章
 * Creation date 2020-8-8 15:06:05
 */
@Service
public class ArticleService {

	@Autowired
	private ArticleMapper articleMapper;


	public List<Article> findAll(JSONObject json) {
		return articleMapper.findAll(json);
	}
}